package edu.unika.aifb.graphindex.storage;

import java.util.Collection;
import java.util.List;

public interface IndexStorageWriter {
	public void flush() throws StorageException;
	public void clear() throws StorageException;
	public void close() throws StorageException;
	
	public void setMaxMemory(int maxMemoryMB) throws StorageException;
	
	public void addData(String[] indexKeys, Collection<String> values) throws StorageException;
	public void addData(String[] indexKeys, List<String> values) throws StorageException;
	public void addData(String[] indexKeys, String value) throws StorageException;
	
	public void merge() throws StorageException;
	public void optimize() throws StorageException;
}
